//
//  InputMessageCell.h
//  ImGuider
//
//  Created by 李陆涛 on 2018/1/3.
//  Copyright © 2018年 imguider. All rights reserved.
//

#import <UIKit/UIKit.h>

@interface InputMessageCell : UITableViewCell

@property (nonatomic, weak) UIViewController *superVC;
@property (nonatomic, weak) id delegate;

// 0手机号/区号；1密码；2验证码；3确认密码；4当前手机号，不可操作
@property (nonatomic) NSInteger type;

/**
 根据类型获取cell

 @param tableView tableview
 @param index 0 手机号类型，1密码类型，2验证码类型
 @return --
 */
+ (instancetype)getCellWithTableView:(UITableView *)tableView index:(NSInteger)index;


- (void)configWithDict:(NSDictionary *)dict;



@end

@protocol InputMessageCellDelegate <NSObject>

- (void)selectedCountry:(Country *)country type:(NSInteger)type;
- (void)inputMsg:(NSString *)msg type:(NSInteger)type;
- (void)getCodeAction:(UIButton *)sender;

@end
